package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "archive_type")
data class ArchiveType(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    var id: Long,//服务器返回ID
    @ColumnInfo
    var atName: String,
    @ColumnInfo
    var atRemarks: String,
    @ColumnInfo
    var atSort: Int,
    @ColumnInfo
    var uuid: String,
    @ColumnInfo
    var enable: Boolean

) {
    override fun toString(): String {
        return atName
    }
}
